<div ng-controller="EvaluateCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/order/list">{{'评价'| translate}}</a></li>
        <li class="active">
            {{"List"|translate}}
            <!-- <a href="#/order/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a> -->
        </li>
    </ul>
    <div class="sui-row-fluid">
        <table class="sui-table table-bordered">
            <thead>
                <tr>
                    <th>{{'订单编号'|translate}}</th>
                    <th>{{'商品ID'|translate}}</th>
                    <th>{{'评分'|translate}}</th>
                    <th>{{'评论内容'|translate}}</th>
                    <th>{{'评论的图片'|translate}}</th>
                    <th>{{'创建时间'|translate}}</th>
                    <th>{{'operation'|translate}}</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="list in orderslist">
                    <td>{{list.order_id}}</td>
                    <td>{{list.item_id}}</td>
                    <td>{{list.score}}</td>
                    <td>{{list.content}}</td>
                    <td> <img ng-src="{{list.image}}"></td>
                    <td>{{list.created_at | ddtt}}</td>
                    <td>
                        <a href="#/evaluate/info?review_id={{list.review_id}}" class="sui-btn btn-primary">{{'info'|translate}}</a>
                    </td>
                </tr>
            </tbody>
        </table>
        <!-- 分页start -->
        <pager page-no="1" page-size="pageSize" total="ordersTotal" get-data="getorderList(pageNo)"></pager>
    </div>
    <!-- 分页end -->
</div>
